package com.tedu.bill.demo2;

/**
 * Author：毕龙
 * Date: 2024/4/14 10:46
 */
public class Person {


    public void sleep(){
        System.out.println("人在睡觉");
    }

    public void sleep(int hours){
        System.out.println("人在睡"+hours+"小时");
    }
    //protected  受保护的
    protected void eat(String foods){
        System.out.println("人在是"+foods);
    }


}
